<?php

/**
 * Subclass for performing query and update operations on the 'page' table.
 *
 * 
 *
 * @package lib.model
 */ 
class PagePeer extends BasePagePeer
{
  public static function retrieveByHandle($handle)
  {
    $c = new Criteria();
    $c->add(PagePeer::HANDLE, $handle);
    $c->setLimit(1);
    foreach (PagePeer::doSelectWithI18n($c) as $page)
    {
      return $page;
      break;
    }
  }
}
